package com.tledu.email.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.tledu.common.core.domain.BaseEntity;

/**
 * 写信对象 email_table
 * 
 * @author ruoyi
 * @date 2024-08-29
 */
public class EmailWrite extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 编号 */
    private Long id;

    /** 主题 */
    private String project;

    /** 正文 */
    private String content;

    /** 发件人id */
    private Long createId;

    /** 收件人id */
    private Long recipientsId;

    /** 收件人 */
    private String recipientsName;

    /** 部门id */
    private Long deptId;

    /** 所属部门 */
    private String deptName;

    /** 类型 */
    private Long type;

    /** 状态 */
    private Long status;

    /** 附件 */
    private String address;

    /** 收发类型标识符 */
    private Long symbol;

    /** 垃圾标识 */
    private Long garbageDelete;

    /** 删除标志 */
    private Long delFlag;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setProject(String project) 
    {
        this.project = project;
    }

    public String getProject() 
    {
        return project;
    }
    public void setContent(String content) 
    {
        this.content = content;
    }

    public String getContent() 
    {
        return content;
    }
    public void setCreateId(Long createId) 
    {
        this.createId = createId;
    }

    public Long getCreateId() 
    {
        return createId;
    }
    public void setRecipientsId(Long recipientsId) 
    {
        this.recipientsId = recipientsId;
    }

    public Long getRecipientsId() 
    {
        return recipientsId;
    }
    public void setRecipientsName(String recipientsName)
    {
        this.recipientsName = recipientsName;
    }

    public String getRecipientsName()
    {
        return recipientsName;
    }
    public void setDeptId(Long deptId) 
    {
        this.deptId = deptId;
    }

    public Long getDeptId() 
    {
        return deptId;
    }
    public void setDeptName(String deptName) 
    {
        this.deptName = deptName;
    }

    public String getDeptName() 
    {
        return deptName;
    }
    public void setType(Long type) 
    {
        this.type = type;
    }

    public Long getType() 
    {
        return type;
    }
    public void setStatus(Long status) 
    {
        this.status = status;
    }

    public Long getStatus() 
    {
        return status;
    }
    public void setAddress(String address) 
    {
        this.address = address;
    }

    public String getAddress() 
    {
        return address;
    }
    public void setSymbol(Long symbol) 
    {
        this.symbol = symbol;
    }

    public Long getSymbol() 
    {
        return symbol;
    }
    public void setGarbageDelete(Long garbageDelete) 
    {
        this.garbageDelete = garbageDelete;
    }

    public Long getGarbageDelete() 
    {
        return garbageDelete;
    }
    public void setDelFlag(Long delFlag) 
    {
        this.delFlag = delFlag;
    }

    public Long getDelFlag() 
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("project", getProject())
            .append("content", getContent())
            .append("createId", getCreateId())
            .append("createBy", getCreateBy())
            .append("recipientsId", getRecipientsId())
            .append("recipientsName", getRecipientsName())
            .append("deptId", getDeptId())
            .append("deptName", getDeptName())
            .append("type", getType())
            .append("status", getStatus())
            .append("address", getAddress())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("symbol", getSymbol())
            .append("garbageDelete", getGarbageDelete())
            .append("delFlag", getDelFlag())
            .toString();
    }
}
